from django.db import models

class Redirect(models.Model):
    from_url = models.CharField(blank=True, max_length=100)
    to_url = models.CharField(blank=True, max_length=100)
    permanent = models.BooleanField(default=True)